Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.
Return the repo, capped direct dependents/dependencies, and artifacts in one call.
This is the recommended second call for AI coding agents auditing a
repo (after /repositories/lookup resolves the ID). One request
collapses what would otherwise be three or four. The freshness fields on
repository (last_scanned_at, last_activity_at,
last_commit_sha, archived) let the agent decide whether to trust
the data or trigger a rescan.
Direct dependents and dependencies are capped at 100 rows each; the
dependencies_total and dependents_total fields carry the post-dedup
count so the agent knows when to paginate via the dedicated
/dependencies and /dependents endpoints. For transitive blast
radius (multi-hop downstream), call /repositories/{id}/impact after
this — it is deliberately not bundled here because not every agent flow
needs it.
Authorizations
Headers
Path Parameters
Cookies
Response
Successful Response
Single-call context bundle for AI coding agents.
Combines the repo row (with freshness fields), capped lists of direct
dependents + dependencies, and the artifacts this repo produces. For full
pagination of dependents/dependencies use the dedicated endpoints; for
transitive blast radius use /repositories/{id}/impact.
Basic repository record.
Slim ownership summary embedded in /repositories/{id}/context.
Tiny by design (spec §8) — the context bundle is capped. Agents call
/repositories/{id}/ownership for the full contributor list.
